package java_methods;

public class JavaMethod {
	// Method add returns sum of two input values
	
	int add (int a, int b) {
		return a + b;
	}
	
	public static void main(String[] args) {
		JavaMethod m = new JavaMethod();
		
		System.out.println(m.add(10,20));
		System.out.println(m.add(-4,20));
	}
}
